//
//  RootViewController.h
//  OpenGL_ES_Demo
//
//  Created by Wang Shuguang on 12-12-24.
//  Copyright (c) 2012年 elong. All rights reserved.
//

#import <UIKit/UIKit.h>
#import <CoreMotion/CoreMotion.h>

@class EAGLView;
@interface RootViewController : UIViewController{
@private
    CMMotionManager *motionManager;
    EAGLView *eaglView;
}
- (void) stopMotionListen;
- (void) startMotionListen;
@end
